package com.example.sms;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScans({
		@MapperScan(basePackages = "com.example.scottmanagesystem.dao.department"),
		@MapperScan(basePackages = "com.example.scottmanagesystem.dao.employee"),
//		@MapperScan(basePackages = "com.example.scottmanagesystem.dao.xxx"),
//		@MapperScan(basePackages = "com.example.scottmanagesystem.dao.yyy"),
//		@MapperScan(basePackages = "com.example.scottmanagesystem.dao.zzz")
})
@EnableTransactionManagement
public class ScottmanagesystemApplication {

	public static void main(String[] args) {
		SpringApplication.run(ScottmanagesystemApplication.class, args);
	}

}
